package com.imut.oa.service;

import com.imut.oa.common.PageResult;
import com.imut.oa.pojo.dto.EmployeePageQueryDTO;
import com.imut.oa.pojo.dto.UpdateEmoployeeDTO;
import com.imut.oa.pojo.entity.User;

import java.util.List;

public interface EmployeeService {

    /**
     * 员工分页查询
     * @param employeePageQueryDTO
     * @return
     */
     PageResult getEmployeePage(EmployeePageQueryDTO employeePageQueryDTO);
    /**
     * 员工禁用
     * @param id
     * @return
     */
    void disableEnablingEmployee(Long id);
    /**
     * 员工修改
     * @param
     * @return
     */
    void updateEmoployee(UpdateEmoployeeDTO dto);


    List<User> getAllEmployee();
}
